package org.example.rpc.core.socket.server;

/**
 * @author: Moo
 * @date: 2024/04/26
 **/
public interface ServiceRegistry {


    /**
     *  注册服务
     * @param service
     */
    <T> void register(T service);

    /**
     * @param serviceName
     * @return {@code Object }
     */
    Object getService(String serviceName);
}
